#define _CRT_SECURE_NO_WARNINGS 1
#include"List.h"

int main()
{
	ListNode* plist = ListCreate();
	ListPushFront(plist, 1);
	ListPushFront(plist, 2);
	ListPushFront(plist, 3);

	/*ListPopBack(plist);
	ListPopBack(plist);*/

	/*ListPopFront(plist);
	ListPopFront(plist);*/

	/*ListNode* pos = ListFind(plist, 1);
	printf("%d ", pos->data);*/

	ListNode* pos= ListFind(plist, 2);
	/*ListInsert(pos, 1);*/

	ListErase(pos);

	ListPrint(plist);
	ListDestory(plist);
	return 0;
}

